import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import DemoSmsResponse from '@/core/demoSms/generated/types/model/response/DemoSmsResponse'
import demoSmsAdminApiConfig from '@/core/demoSms/generated/apiconfig/demoSmsAdminApiConfig'

const moduleApiConfig = demoSmsAdminApiConfig.demoSms

class DemoSmsAdminServerApi extends BaseAdminServerApi<string, DemoSmsResponse> {}

const adminServerApi = new DemoSmsAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
